projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d505a1a
)
listbox: Use :focus-on-click policy from row instead of list
author
Florian Müllner
<fmuellner@gnome.org>
Wed, 25 Nov 2015 00:05:04 +0000
(
01:05
+0100)
committer
Florian Müllner
<fmuellner@gnome.org>
Mon, 30 Nov 2015 16:59:06 +0000
(17:59 +0100)
Using the property from the container is inconsistent with the
:selectable and :activatable properties, which are per row.
gtk/gtklistbox.c
patch
|
blob
|
history
diff --git
a/gtk/gtklistbox.c
b/gtk/gtklistbox.c
index 9b963d97f9cbd94def1e4aa4ef4fa7037c3f64ce..f9b74b7f41c9172ffebd13f6b864b80ccc01fc8b 100644
(file)
--- a/
gtk/gtklistbox.c
+++ b/
gtk/gtklistbox.c
@@
-1906,7
+1906,7
@@
gtk_list_box_multipress_gesture_released (GtkGestureMultiPress *gesture,
if (priv->active_row != NULL && priv->active_row_active)
{
- gboolean focus_on_click = gtk_widget_get_focus_on_click (GTK_WIDGET (
box
));
+ gboolean focus_on_click = gtk_widget_get_focus_on_click (GTK_WIDGET (
priv->active_row
));
gtk_widget_unset_state_flags (GTK_WIDGET (priv->active_row),
GTK_STATE_FLAG_ACTIVE);